// $codepro.audit.disable
package edu.gatech.oad.cyberdoc.view;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
import javax.swing.JButton;
import java.awt.Component;
import javax.swing.Box;
import java.awt.Color;
import java.awt.FlowLayout;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import java.awt.SystemColor;
import javax.swing.JTextField;
import java.awt.Insets;
import java.awt.GridLayout;
import net.miginfocom.swing.MigLayout;
import javax.swing.border.BevelBorder;
import javax.swing.border.LineBorder;
import javax.swing.JTextPane;
import javax.swing.JComboBox;
import javax.swing.JList;
import javax.swing.UIManager;

import org.json.JSONObject;


public class TreatmentGroupsPanel extends ApplicationPanel {
	private JTable table;

	/**
	 * Create the panel.
	 */
	public TreatmentGroupsPanel() {
		setBackground(SystemColor.inactiveCaptionBorder);
		setLayout(null);
		
		JPanel topHalf = new JPanel();
		topHalf.setBackground(SystemColor.inactiveCaptionBorder);
		topHalf.setBounds(0, 0, 584, 195);
		add(topHalf);
		topHalf.setLayout(null);
		
		JPanel toolbar = new JPanel();
		toolbar.setBackground(SystemColor.inactiveCaptionBorder);
		FlowLayout fl_toolbar = (FlowLayout) toolbar.getLayout();
		fl_toolbar.setAlignment(FlowLayout.LEFT);
		toolbar.setBounds(10, 11, 564, 33);
		topHalf.add(toolbar);
		
		JLabel lblPleaseSelectA = new JLabel("Please select a record to view");
		toolbar.add(lblPleaseSelectA);
		
		JScrollPane tablePanel = new JScrollPane();
		tablePanel.setBounds(10, 48, 564, 136);
		topHalf.add(tablePanel);
		
		table = new JTable();
		tablePanel.setViewportView(table);
		
		JLabel lblPleaseSelctA = new JLabel("Treatment Record Info:");
		lblPleaseSelctA.setBounds(10, 193, 366, 14);
		add(lblPleaseSelctA);
		
		JList list = new JList();
		list.setBackground(UIManager.getColor("Button.background"));
		list.setBounds(10, 206, 569, 186);
		add(list);
		
		
		
	}

	@Override
	public void show(JSONObject response) {
		// TODO Auto-generated method stub
		
	}
}
